/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.service.order;

import info.peigen.hotpot.common.core.annotation.Comment;
import info.peigen.hotpot.common.service.base.ServiceOrderBase;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(UserCreateOrder)</b>
 * "用户" 创建服务请求
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class UserCreateOrder extends ServiceOrderBase {
    @Comment(value = "登录名")
    @NotEmpty(message = "[登录名]不得为空")
    @Size(max = 200, message = "[登录名]超长")
    String loginName;
    @Comment(value = "登录密码")
    @NotEmpty(message = "[登录密码]不得为空")
    @Size(max = 100, message = "[登录密码]超长")
    String password;
    @Comment(value = "确认登录密码")
    @Size(max = 100, message = "[确认登录密码]超长")
    String confirmPassword;
    @Comment(value = "memo")
    @Size(max = 2000, message = "[memo]超长")
    String memo;
}